package com.love.marriage.userCallRetrieval.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.love.marriage.common.vo.BaseVo;
import com.love.marriage.config.Long2StringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * description:  用户获取电话次数记录表Vo
 * author:       mybatisPlus
 * createDate:   2025-01-17 19:28:01
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "UserCallRetrievalVo", description = "用户获取电话次数记录表Vo")
public class UserCallRetrievalVo extends BaseVo<UserCallRetrievalVo>{

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "用户ID，关联用户表", type = "Long", implementation = Long.class)
    private Long userId;

    @Schema(description = "获取电话次数", type = "Integer", implementation = Integer.class)
    private Integer retrievalCount;

    @Schema(description = "获取时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    private LocalDateTime retrievalTime;

    @Schema(description = "备注，例如获取电话的来源或说明", type = "String", implementation = String.class)
    private String notes;

}
